package com.ruoyi.workstation.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户日志对象 user_log
 * 
 * @author ruoyi
 * @date 2024-01-13
 */
public class UserLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String fileName;

    /** 新文件名称 */
    @Excel(name = "新文件名称")
    private String newFileName;

    /** 源文件名称 */
    @Excel(name = "源文件名称")
    private String originalFileName;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long creator;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setNewFileName(String newFileName) 
    {
        this.newFileName = newFileName;
    }

    public String getNewFileName() 
    {
        return newFileName;
    }
    public void setOriginalFileName(String originalFileName) 
    {
        this.originalFileName = originalFileName;
    }

    public String getOriginalFileName() 
    {
        return originalFileName;
    }
    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fileName", getFileName())
            .append("newFileName", getNewFileName())
            .append("originalFileName", getOriginalFileName())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .toString();
    }
}
